package com.caiheng.api.entity.platform;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

/**
 * 推广小程序平台对象 platform_promotion
 *
 * @author ruoyi
 * @date 2022-11-03
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("platform_promotion")
public class PlatformPromotion implements Serializable {

    private static final long serialVersionUID = 1L;


    /**
     * $column.columnComment
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    /**
     * 平台名称
     */
    private String platformName;

    /**
     * 平台logo
     */
    private String logo;

    /**
     * 平台推广二维码
     */
    private String qrCodeUrl;

    /**
     * 状态
     */
    private Integer state;

    /**
     * 添加时间
     */
    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    /**
     * 平台介绍
     */
    private String introduction;

    /**
     *  平台特定参数
     */
    private String platformParam;

}
